package com.cloud.api.myenum;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum CmdRelateEnum implements IEnum<Byte> {
    BEFORE((byte) 8, "前置"),
    NONE((byte) 0, "无"),
    AFTER((byte) 6, "后置");


    private Byte value;

    private String desc;

    CmdRelateEnum(Byte value, String desc) {
        this.value = value;
        this.desc = desc;
    }
    @Override
    public Byte getValue() {
        return this.value;
    }
}
